package com.api.shopapi.service;

import com.api.shopapi.entity.EHealthRecord;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;

@Service
public interface EHealthRecordService {

    int insert(EHealthRecord eHealthRecord);

    int update(EHealthRecord eHealthRecord);

    EHealthRecord getByEHealthRecordCode(String eHealthRecordCode);

    PageInfo<EHealthRecord> getPageList(int pageIndex, int pageSize,String name,
                                        String hospital,
                                        String bloodTraVol,
                                        String reasonInfusion,
                                        int status,
                                        String isTime,
                                        Date startTime,
                                        Date endTime,
                                        String elderlyCode,
                                        Integer relation);
}
